<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Eigen: AlignedBox.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="eigendoxy.css" rel="stylesheet" type="text/css">
<!--  -->
<script type="text/javascript" src="eigen_navtree_hacks.js"></script>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Eigen_Silly_Professor_64x64.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname"><a href="http://eigen.tuxfamily.org">Eigen</a>
   &#160;<span id="projectnumber">3.4.90 (git rev 67eeba6e720c5745abc77ae6c92ce0a44aa7b7ae)</span>
   </div>
  </td>
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.svg"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('AlignedBox_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">AlignedBox.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">// This file is part of Eigen, a lightweight C++ template library</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// for linear algebra.</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">// Copyright (C) 2008 Gael Guennebaud &lt;gael.guennebaud@inria.fr&gt;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">// This Source Code Form is subject to the terms of the Mozilla</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">// Public License v. 2.0. If a copy of the MPL was not distributed</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">// Function void Eigen::AlignedBox::transform(const Transform&amp; transform)</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">// is provided under the following license agreement:</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">// Software License Agreement (BSD License)</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">// Copyright (c) 2011-2014, Willow Garage, Inc.</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">// Copyright (c) 2014-2015, Open Source Robotics Foundation</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">// All rights reserved.</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">// Redistribution and use in source and binary forms, with or without</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">// modification, are permitted provided that the following conditions</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment">// are met:</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment">//  * Redistributions of source code must retain the above copyright</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment">//    notice, this list of conditions and the following disclaimer.</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment">//  * Redistributions in binary form must reproduce the above</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment">//    copyright notice, this list of conditions and the following</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment">//    disclaimer in the documentation and/or other materials provided</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment">//    with the distribution.</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment">//  * Neither the name of Open Source Robotics Foundation nor the names of its</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment">//    contributors may be used to endorse or promote products derived</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment">//    from this software without specific prior written permission.</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="comment">// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment">// &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment">// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment">// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="comment">// COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment">// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment">// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="comment">// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="comment">// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="comment">// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="comment">// ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="comment">// POSSIBILITY OF SUCH DAMAGE.</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160; </div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">#ifndef EIGEN_ALIGNEDBOX_H</span></div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="preprocessor">#define EIGEN_ALIGNEDBOX_H</span></div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160; </div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor">#include &quot;./InternalHeaderCheck.h&quot;</span></div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160; </div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceEigen.html">Eigen</a> {</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160; </div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> Scalar_, <span class="keywordtype">int</span> AmbientDim_&gt;</div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html">   68</a></span>&#160;<span class="keyword">class </span><a class="code" href="classEigen_1_1AlignedBox.html">AlignedBox</a></div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;{</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF_VECTORIZABLE_FIXED_SIZE(Scalar_,AmbientDim_)</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;  <span class="keyword">enum</span> { AmbientDimAtCompileTime = AmbientDim_ };</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;  <span class="keyword">typedef</span> Scalar_                                   Scalar;</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;  <span class="keyword">typedef</span> <a class="code" href="structEigen_1_1NumTraits.html">NumTraits&lt;Scalar&gt;</a>                         <a class="code" href="structEigen_1_1NumTraits.html">ScalarTraits</a>;</div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#a49aa57267f2835ac961235bea5bee8ac">   75</a></span>&#160;  <span class="keyword">typedef</span> <a class="code" href="namespaceEigen.html#a62e77e0933482dafde8fe197d9a2cfde">Eigen::Index</a>                              <a class="code" href="classEigen_1_1AlignedBox.html#a49aa57267f2835ac961235bea5bee8ac">Index</a>; </div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> ScalarTraits::Real               RealScalar;</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;  <span class="keyword">typedef</span> <span class="keyword">typename</span> ScalarTraits::NonInteger         NonInteger;</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;  <span class="keyword">typedef</span> <a class="code" href="classEigen_1_1Matrix.html">Matrix&lt;Scalar,AmbientDimAtCompileTime,1&gt;</a>  <a class="code" href="classEigen_1_1Matrix.html">VectorType</a>;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;  <span class="keyword">typedef</span> <a class="code" href="classEigen_1_1CwiseBinaryOp.html">CwiseBinaryOp&lt;internal::scalar_sum_op&lt;Scalar&gt;</a>, <span class="keyword">const</span> <a class="code" href="classEigen_1_1Matrix.html">VectorType</a>, <span class="keyword">const</span> <a class="code" href="classEigen_1_1Matrix.html">VectorType</a>&gt; <a class="code" href="classEigen_1_1CwiseBinaryOp.html">VectorTypeSum</a>;</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160; </div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378">   82</a></span>&#160;  <span class="keyword">enum</span> <a class="code" href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378">CornerType</a></div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;  {</div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378a0d34560e6751623935532d61e57fee60">   85</a></span>&#160;    <a class="code" href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378a3e75f2c0fc145855924134fd18fab0b8">Min</a>=0, <a class="code" href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378a0d34560e6751623935532d61e57fee60">Max</a>=1,</div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378a509f3625904845c83483279628ac672f">   89</a></span>&#160;    <a class="code" href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378a509f3625904845c83483279628ac672f">BottomLeft</a>=0, <a class="code" href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378a395b1ed5f83be9cb0516e146cf183516">BottomRight</a>=1,</div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378a1a18651b4a33f61755894bf8ff31ea14">   90</a></span>&#160;    <a class="code" href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378a1a18651b4a33f61755894bf8ff31ea14">TopLeft</a>=2, <a class="code" href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378a2827ffa8813d2080e2ef7ddd1115175a">TopRight</a>=3,</div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378afc1c67ae2bcc154f690cbc928517972d">   94</a></span>&#160;    <a class="code" href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378afc1c67ae2bcc154f690cbc928517972d">BottomLeftFloor</a>=0, <a class="code" href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378a5a05d903c977da3e91c37bb5c51e60dd">BottomRightFloor</a>=1,</div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378a32a1f777fd1b8d8cad52b8ff1eb5dea7">   95</a></span>&#160;    <a class="code" href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378a32a1f777fd1b8d8cad52b8ff1eb5dea7">TopLeftFloor</a>=2, <a class="code" href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378a8429f957ccb88065020de445c39c49f7">TopRightFloor</a>=3,</div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378ac4e0be6f091970e045265a668cbf6b47">   96</a></span>&#160;    <a class="code" href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378ac4e0be6f091970e045265a668cbf6b47">BottomLeftCeil</a>=4, <a class="code" href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378ad03399109b3a82fde5f66c1888cb328b">BottomRightCeil</a>=5,</div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378a485cc6b5a858aee6971bb1bc57ad4efa">   97</a></span>&#160;    <a class="code" href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378a485cc6b5a858aee6971bb1bc57ad4efa">TopLeftCeil</a>=6, <a class="code" href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378ada703fccfe797c21bc5943e2e933b84d">TopRightCeil</a>=7</div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378ada703fccfe797c21bc5943e2e933b84d">   99</a></span>&#160;  };</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160; </div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160; </div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#a9ae9a4738e56ab88399cdf755fef1971">  103</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <a class="code" href="classEigen_1_1AlignedBox.html#a9ae9a4738e56ab88399cdf755fef1971">AlignedBox</a>()</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;  { <span class="keywordflow">if</span> (EIGEN_CONST_CONDITIONAL(AmbientDimAtCompileTime!=<a class="code" href="namespaceEigen.html#ad81fa7195215a0ce30017dfac309f0b2">Dynamic</a>)) <a class="code" href="classEigen_1_1AlignedBox.html#aee2186f3e9218881bae66206b22b7016">setEmpty</a>(); }</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160; </div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#a522c945ed9c331f90b1f75ab290180d7">  107</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <span class="keyword">explicit</span> <a class="code" href="classEigen_1_1AlignedBox.html#a522c945ed9c331f90b1f75ab290180d7">AlignedBox</a>(<a class="code" href="classEigen_1_1AlignedBox.html#a49aa57267f2835ac961235bea5bee8ac">Index</a> _dim) : m_min(_dim), m_max(_dim)</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;  { <a class="code" href="classEigen_1_1AlignedBox.html#aee2186f3e9218881bae66206b22b7016">setEmpty</a>(); }</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160; </div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;  <span class="keyword">template</span>&lt;<span class="keyword">typename</span> OtherVectorType1, <span class="keyword">typename</span> OtherVectorType2&gt;</div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#a1540a9d114086aaaedbd5a560c2e7563">  113</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <a class="code" href="classEigen_1_1AlignedBox.html#a1540a9d114086aaaedbd5a560c2e7563">AlignedBox</a>(<span class="keyword">const</span> OtherVectorType1&amp; _min, <span class="keyword">const</span> OtherVectorType2&amp; _max) : m_min(_min), m_max(_max) {}</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160; </div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;  <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Derived&gt;</div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#a3285f3a937f96727e491ffd052bb1de9">  117</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <span class="keyword">explicit</span> <a class="code" href="classEigen_1_1AlignedBox.html#a3285f3a937f96727e491ffd052bb1de9">AlignedBox</a>(<span class="keyword">const</span> <a class="code" href="classEigen_1_1MatrixBase.html">MatrixBase&lt;Derived&gt;</a>&amp; p) : m_min(p), m_max(m_min)</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;  { }</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160; </div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;  EIGEN_DEVICE_FUNC ~<a class="code" href="classEigen_1_1AlignedBox.html">AlignedBox</a>() {}</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160; </div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#a95e8244be4e60887cfb1caa25b369d57">  123</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <a class="code" href="classEigen_1_1AlignedBox.html#a49aa57267f2835ac961235bea5bee8ac">Index</a> <a class="code" href="classEigen_1_1AlignedBox.html#a95e8244be4e60887cfb1caa25b369d57">dim</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> AmbientDimAtCompileTime==<a class="code" href="namespaceEigen.html#ad81fa7195215a0ce30017dfac309f0b2">Dynamic</a> ? m_min.size() : <a class="code" href="classEigen_1_1AlignedBox.html#a49aa57267f2835ac961235bea5bee8ac">Index</a>(AmbientDimAtCompileTime); }</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160; </div>
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#a1d7b5a79c7657306d7610f6cac19d378">  126</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classEigen_1_1AlignedBox.html#a1d7b5a79c7657306d7610f6cac19d378">isNull</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classEigen_1_1AlignedBox.html#aa854f1d5e78822f4a6f192d4d5949f95">isEmpty</a>(); }</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160; </div>
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#aee3dfbaf7306efc1f1bcd65cec04729c">  129</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classEigen_1_1AlignedBox.html#aee3dfbaf7306efc1f1bcd65cec04729c">setNull</a>() { <a class="code" href="classEigen_1_1AlignedBox.html#aee2186f3e9218881bae66206b22b7016">setEmpty</a>(); }</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160; </div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#aa854f1d5e78822f4a6f192d4d5949f95">  133</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classEigen_1_1AlignedBox.html#aa854f1d5e78822f4a6f192d4d5949f95">isEmpty</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> (m_min.array() &gt; m_max.array()).any(); }</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160; </div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#aee2186f3e9218881bae66206b22b7016">  137</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classEigen_1_1AlignedBox.html#aee2186f3e9218881bae66206b22b7016">setEmpty</a>()</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;  {</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    m_min.<a class="code" href="classEigen_1_1PlainObjectBase.html#aac6bc5261783ec3008a51c2654de73e8">setConstant</a>( ScalarTraits::highest() );</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;    m_max.<a class="code" href="classEigen_1_1PlainObjectBase.html#aac6bc5261783ec3008a51c2654de73e8">setConstant</a>( ScalarTraits::lowest() );</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;  }</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160; </div>
<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#ab900e4b88b30cea89997f7d940056385">  144</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="classEigen_1_1Matrix.html">VectorType</a>&amp; (<a class="code" href="classEigen_1_1AlignedBox.html#ab900e4b88b30cea89997f7d940056385">min</a>)()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_min; }</div>
<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#a9533bed7270d1829221fc3cca1ab7a2d">  146</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <a class="code" href="classEigen_1_1Matrix.html">VectorType</a>&amp; (<a class="code" href="classEigen_1_1AlignedBox.html#a9533bed7270d1829221fc3cca1ab7a2d">min</a>)() { <span class="keywordflow">return</span> m_min; }</div>
<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#a313ee6bc4feff436c1e60d62fc18778b">  148</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="classEigen_1_1Matrix.html">VectorType</a>&amp; (<a class="code" href="classEigen_1_1AlignedBox.html#a313ee6bc4feff436c1e60d62fc18778b">max</a>)()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_max; }</div>
<div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#a8ed7834df77c185a07a8d98d62f38cd8">  150</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <a class="code" href="classEigen_1_1Matrix.html">VectorType</a>&amp; (<a class="code" href="classEigen_1_1AlignedBox.html#a8ed7834df77c185a07a8d98d62f38cd8">max</a>)() { <span class="keywordflow">return</span> m_max; }</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160; </div>
<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#a051c83d98a8173b3ec1e6f623f05e2bc">  153</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="classEigen_1_1AlignedBox.html#a051c83d98a8173b3ec1e6f623f05e2bc">EIGEN_EXPR_BINARYOP_SCALAR_RETURN_TYPE</a>(<a class="code" href="classEigen_1_1CwiseBinaryOp.html">VectorTypeSum</a>, RealScalar, quotient)</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;  center()<span class="keyword"> const</span></div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<span class="keyword">  </span>{ <span class="keywordflow">return</span> (m_min+m_max)/RealScalar(2); }</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160; </div>
<div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#aba5c7e95891406676ec4dd24ec8886a6">  161</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <span class="keyword">const</span> <a class="code" href="classEigen_1_1CwiseBinaryOp.html">CwiseBinaryOp&lt; internal::scalar_difference_op&lt;Scalar,Scalar&gt;</a>, <span class="keyword">const</span> <a class="code" href="classEigen_1_1Matrix.html">VectorType</a>, <span class="keyword">const</span> <a class="code" href="classEigen_1_1Matrix.html">VectorType</a>&gt; <a class="code" href="classEigen_1_1AlignedBox.html#aba5c7e95891406676ec4dd24ec8886a6">sizes</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;<span class="keyword">  </span>{ <span class="keywordflow">return</span> m_max - m_min; }</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160; </div>
<div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#ae8a08a294f86da85d15fcffafb463bbc">  165</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> Scalar <a class="code" href="classEigen_1_1AlignedBox.html#ae8a08a294f86da85d15fcffafb463bbc">volume</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;<span class="keyword">  </span>{ <span class="keywordflow">return</span> <a class="code" href="classEigen_1_1AlignedBox.html#aba5c7e95891406676ec4dd24ec8886a6">sizes</a>().prod(); }</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160; </div>
<div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#af4cee28b5d5aa1a5455c01bcc442b797">  172</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <a class="code" href="classEigen_1_1CwiseBinaryOp.html">CwiseBinaryOp&lt; internal::scalar_difference_op&lt;Scalar,Scalar&gt;</a>, <span class="keyword">const</span> <a class="code" href="classEigen_1_1Matrix.html">VectorType</a>, <span class="keyword">const</span> <a class="code" href="classEigen_1_1Matrix.html">VectorType</a>&gt; <a class="code" href="classEigen_1_1AlignedBox.html#af4cee28b5d5aa1a5455c01bcc442b797">diagonal</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;<span class="keyword">  </span>{ <span class="keywordflow">return</span> <a class="code" href="classEigen_1_1AlignedBox.html#aba5c7e95891406676ec4dd24ec8886a6">sizes</a>(); }</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160; </div>
<div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#a492e672e08fa4b07f472027d7e874910">  184</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <a class="code" href="classEigen_1_1Matrix.html">VectorType</a> <a class="code" href="classEigen_1_1AlignedBox.html#a492e672e08fa4b07f472027d7e874910">corner</a>(<a class="code" href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378">CornerType</a> <a class="code" href="classEigen_1_1AlignedBox.html#a492e672e08fa4b07f472027d7e874910">corner</a>)<span class="keyword"> const</span></div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;<span class="keyword">  </span>{</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;    EIGEN_STATIC_ASSERT(AmbientDim_ &lt;= 3, THIS_METHOD_IS_ONLY_FOR_VECTORS_OF_A_SPECIFIC_SIZE);</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160; </div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;    <a class="code" href="classEigen_1_1Matrix.html">VectorType</a> res;</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160; </div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;    <a class="code" href="classEigen_1_1AlignedBox.html#a49aa57267f2835ac961235bea5bee8ac">Index</a> mult = 1;</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;    <span class="keywordflow">for</span>(<a class="code" href="classEigen_1_1AlignedBox.html#a49aa57267f2835ac961235bea5bee8ac">Index</a> d=0; d&lt;<a class="code" href="classEigen_1_1AlignedBox.html#a95e8244be4e60887cfb1caa25b369d57">dim</a>(); ++d)</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;    {</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;      <span class="keywordflow">if</span>( mult &amp; <a class="code" href="classEigen_1_1AlignedBox.html#a492e672e08fa4b07f472027d7e874910">corner</a> ) res[d] = m_max[d];</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;      <span class="keywordflow">else</span>                res[d] = m_min[d];</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;      mult *= 2;</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;    }</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;    <span class="keywordflow">return</span> res;</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;  }</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160; </div>
<div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#a1f1b00e1696e71a978cf129b93c38d1e">  202</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <a class="code" href="classEigen_1_1Matrix.html">VectorType</a> <a class="code" href="classEigen_1_1AlignedBox.html#a1f1b00e1696e71a978cf129b93c38d1e">sample</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;<span class="keyword">  </span>{</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;    <a class="code" href="classEigen_1_1Matrix.html">VectorType</a> r(<a class="code" href="classEigen_1_1AlignedBox.html#a95e8244be4e60887cfb1caa25b369d57">dim</a>());</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;    <span class="keywordflow">for</span>(<a class="code" href="classEigen_1_1AlignedBox.html#a49aa57267f2835ac961235bea5bee8ac">Index</a> d=0; d&lt;<a class="code" href="classEigen_1_1AlignedBox.html#a95e8244be4e60887cfb1caa25b369d57">dim</a>(); ++d)</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;    {</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;      <span class="keywordflow">if</span>(!ScalarTraits::IsInteger)</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;      {</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;        r[d] = m_min[d] + (m_max[d]-m_min[d])</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;             * internal::random&lt;Scalar&gt;(Scalar(0), Scalar(1));</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;      }</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;      <span class="keywordflow">else</span></div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;        r[d] = internal::random(m_min[d], m_max[d]);</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;    }</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;    <span class="keywordflow">return</span> r;</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;  }</div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160; </div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;  <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Derived&gt;</div>
<div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#a7ef62c93ddb33d1b363cc05144e0b393">  220</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classEigen_1_1AlignedBox.html#a7ef62c93ddb33d1b363cc05144e0b393">contains</a>(<span class="keyword">const</span> <a class="code" href="classEigen_1_1MatrixBase.html">MatrixBase&lt;Derived&gt;</a>&amp; p)<span class="keyword"> const</span></div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;<span class="keyword">  </span>{</div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;    <span class="keyword">typename</span> internal::nested_eval&lt;Derived,2&gt;::type p_n(p.<a class="code" href="classEigen_1_1DenseCoeffsBase_3_01Derived_00_01DirectWriteAccessors_01_4.html#a1fbabe7f12bcbfba3b9a448b1f5e46fa">derived</a>());</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;    <span class="keywordflow">return</span> (m_min.array()&lt;=p_n.array()).all() &amp;&amp; (p_n.array()&lt;=m_max.array()).<a class="code" href="group__Core__Module.html#ga4abe6022fbef6cda264ef2947a2be1a9">all</a>();</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;  }</div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160; </div>
<div class="line"><a name="l00227"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#a35e8681792da5c54ffb1c9193598b71b">  227</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classEigen_1_1AlignedBox.html#a35e8681792da5c54ffb1c9193598b71b">contains</a>(<span class="keyword">const</span> <a class="code" href="classEigen_1_1AlignedBox.html">AlignedBox</a>&amp; b)<span class="keyword"> const</span></div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;<span class="keyword">  </span>{ <span class="keywordflow">return</span> (m_min.array()&lt;=(b.<a class="code" href="classEigen_1_1AlignedBox.html#ab900e4b88b30cea89997f7d940056385">min</a>)().array()).all() &amp;&amp; ((b.<a class="code" href="classEigen_1_1AlignedBox.html#a313ee6bc4feff436c1e60d62fc18778b">max</a>)().array()&lt;=m_max.array()).<a class="code" href="group__Core__Module.html#ga4abe6022fbef6cda264ef2947a2be1a9">all</a>(); }</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160; </div>
<div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#a3f68a47f67148efbd6dc3829fd37504b">  232</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classEigen_1_1AlignedBox.html#a3f68a47f67148efbd6dc3829fd37504b">intersects</a>(<span class="keyword">const</span> <a class="code" href="classEigen_1_1AlignedBox.html">AlignedBox</a>&amp; b)<span class="keyword"> const</span></div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;<span class="keyword">  </span>{ <span class="keywordflow">return</span> (m_min.array()&lt;=(b.<a class="code" href="classEigen_1_1AlignedBox.html#a313ee6bc4feff436c1e60d62fc18778b">max</a>)().array()).all() &amp;&amp; ((b.<a class="code" href="classEigen_1_1AlignedBox.html#ab900e4b88b30cea89997f7d940056385">min</a>)().array()&lt;=m_max.array()).<a class="code" href="group__Core__Module.html#ga4abe6022fbef6cda264ef2947a2be1a9">all</a>(); }</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160; </div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;  <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Derived&gt;</div>
<div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#a3549725c49160c2c76c35c8e86055503">  238</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <a class="code" href="classEigen_1_1AlignedBox.html">AlignedBox</a>&amp; <a class="code" href="classEigen_1_1AlignedBox.html#a3549725c49160c2c76c35c8e86055503">extend</a>(<span class="keyword">const</span> <a class="code" href="classEigen_1_1MatrixBase.html">MatrixBase&lt;Derived&gt;</a>&amp; p)</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;  {</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;    <span class="keyword">typename</span> internal::nested_eval&lt;Derived,2&gt;::type p_n(p.<a class="code" href="classEigen_1_1DenseCoeffsBase_3_01Derived_00_01DirectWriteAccessors_01_4.html#a1fbabe7f12bcbfba3b9a448b1f5e46fa">derived</a>());</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;    m_min = m_min.cwiseMin(p_n);</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;    m_max = m_max.cwiseMax(p_n);</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;    <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;  }</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160; </div>
<div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#a970488dcf16ed183180f7fc23fa31278">  248</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <a class="code" href="classEigen_1_1AlignedBox.html">AlignedBox</a>&amp; <a class="code" href="classEigen_1_1AlignedBox.html#a970488dcf16ed183180f7fc23fa31278">extend</a>(<span class="keyword">const</span> <a class="code" href="classEigen_1_1AlignedBox.html">AlignedBox</a>&amp; b)</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;  {</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;    m_min = m_min.cwiseMin(b.m_min);</div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;    m_max = m_max.cwiseMax(b.m_max);</div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;    <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;  }</div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160; </div>
<div class="line"><a name="l00258"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#a815b3d570e81e84c783a843f4ebfbb0f">  258</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <a class="code" href="classEigen_1_1AlignedBox.html">AlignedBox</a>&amp; <a class="code" href="classEigen_1_1AlignedBox.html#a815b3d570e81e84c783a843f4ebfbb0f">clamp</a>(<span class="keyword">const</span> <a class="code" href="classEigen_1_1AlignedBox.html">AlignedBox</a>&amp; b)</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;  {</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;    m_min = m_min.cwiseMax(b.m_min);</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;    m_max = m_max.cwiseMin(b.m_max);</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;    <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;  }</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160; </div>
<div class="line"><a name="l00268"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#a0b76fc1ee174992cca1fa24bfd6e4a6a">  268</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <a class="code" href="classEigen_1_1AlignedBox.html">AlignedBox</a> <a class="code" href="classEigen_1_1AlignedBox.html#a0b76fc1ee174992cca1fa24bfd6e4a6a">intersection</a>(<span class="keyword">const</span> <a class="code" href="classEigen_1_1AlignedBox.html">AlignedBox</a>&amp; b)<span class="keyword"> const</span></div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;<span class="keyword">  </span>{<span class="keywordflow">return</span> <a class="code" href="classEigen_1_1AlignedBox.html#a9ae9a4738e56ab88399cdf755fef1971">AlignedBox</a>(m_min.cwiseMax(b.m_min), m_max.cwiseMin(b.m_max)); }</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160; </div>
<div class="line"><a name="l00274"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#a44f595ef90fae9146e0de0d6d92ebe01">  274</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <a class="code" href="classEigen_1_1AlignedBox.html">AlignedBox</a> <a class="code" href="classEigen_1_1AlignedBox.html#a44f595ef90fae9146e0de0d6d92ebe01">merged</a>(<span class="keyword">const</span> <a class="code" href="classEigen_1_1AlignedBox.html">AlignedBox</a>&amp; b)<span class="keyword"> const</span></div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;<span class="keyword">  </span>{ <span class="keywordflow">return</span> <a class="code" href="classEigen_1_1AlignedBox.html#a9ae9a4738e56ab88399cdf755fef1971">AlignedBox</a>(m_min.cwiseMin(b.m_min), m_max.cwiseMax(b.m_max)); }</div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160; </div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;  <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Derived&gt;</div>
<div class="line"><a name="l00279"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#ae91161ac95a97cd12dc719e6371b28ad">  279</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <a class="code" href="classEigen_1_1AlignedBox.html">AlignedBox</a>&amp; <a class="code" href="classEigen_1_1AlignedBox.html#ae91161ac95a97cd12dc719e6371b28ad">translate</a>(<span class="keyword">const</span> <a class="code" href="classEigen_1_1MatrixBase.html">MatrixBase&lt;Derived&gt;</a>&amp; a_t)</div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;  {</div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;    <span class="keyword">const</span> <span class="keyword">typename</span> internal::nested_eval&lt;Derived,2&gt;::type t(a_t.<a class="code" href="classEigen_1_1DenseCoeffsBase_3_01Derived_00_01DirectWriteAccessors_01_4.html#a1fbabe7f12bcbfba3b9a448b1f5e46fa">derived</a>());</div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;    m_min += t;</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;    m_max += t;</div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;    <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;  }</div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160; </div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;  <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Derived&gt;</div>
<div class="line"><a name="l00289"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#a6efd4eb4864791f7bc760cb83e2a2f8e">  289</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <a class="code" href="classEigen_1_1AlignedBox.html">AlignedBox</a> <a class="code" href="classEigen_1_1AlignedBox.html#a6efd4eb4864791f7bc760cb83e2a2f8e">translated</a>(<span class="keyword">const</span> <a class="code" href="classEigen_1_1MatrixBase.html">MatrixBase&lt;Derived&gt;</a>&amp; a_t)<span class="keyword"> const</span></div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;<span class="keyword">  </span>{</div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;    <a class="code" href="classEigen_1_1AlignedBox.html">AlignedBox</a> result(m_min, m_max);</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;    result.<a class="code" href="classEigen_1_1AlignedBox.html#ae91161ac95a97cd12dc719e6371b28ad">translate</a>(a_t);</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;    <span class="keywordflow">return</span> result;</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;  }</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160; </div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;  <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Derived&gt;</div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> Scalar <a class="code" href="classEigen_1_1AlignedBox.html#a845dd8a069c204d15f12aa2702dd9539">squaredExteriorDistance</a>(<span class="keyword">const</span> <a class="code" href="classEigen_1_1MatrixBase.html">MatrixBase&lt;Derived&gt;</a>&amp; p) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160; </div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> Scalar <a class="code" href="classEigen_1_1AlignedBox.html#a845dd8a069c204d15f12aa2702dd9539">squaredExteriorDistance</a>(<span class="keyword">const</span> <a class="code" href="classEigen_1_1AlignedBox.html">AlignedBox</a>&amp; b) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160; </div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;  <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Derived&gt;</div>
<div class="line"><a name="l00314"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#ad30a56f5c452e9c9f05f31df8de11281">  314</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> NonInteger <a class="code" href="classEigen_1_1AlignedBox.html#ad30a56f5c452e9c9f05f31df8de11281">exteriorDistance</a>(<span class="keyword">const</span> <a class="code" href="classEigen_1_1MatrixBase.html">MatrixBase&lt;Derived&gt;</a>&amp; p)<span class="keyword"> const</span></div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;<span class="keyword">  </span>{ EIGEN_USING_STD(<a class="code" href="namespaceEigen.html#af4f536e8ea56702e63088efb3706d1f0">sqrt</a>) <span class="keywordflow">return</span> <a class="code" href="namespaceEigen.html#af4f536e8ea56702e63088efb3706d1f0">sqrt</a>(NonInteger(<a class="code" href="classEigen_1_1AlignedBox.html#a845dd8a069c204d15f12aa2702dd9539">squaredExteriorDistance</a>(p))); }</div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160; </div>
<div class="line"><a name="l00321"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#aa9db0f991a577eb1d31183b51a848be0">  321</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> NonInteger <a class="code" href="classEigen_1_1AlignedBox.html#aa9db0f991a577eb1d31183b51a848be0">exteriorDistance</a>(<span class="keyword">const</span> <a class="code" href="classEigen_1_1AlignedBox.html">AlignedBox</a>&amp; b)<span class="keyword"> const</span></div>
<div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;<span class="keyword">  </span>{ EIGEN_USING_STD(<a class="code" href="namespaceEigen.html#af4f536e8ea56702e63088efb3706d1f0">sqrt</a>) <span class="keywordflow">return</span> <a class="code" href="namespaceEigen.html#af4f536e8ea56702e63088efb3706d1f0">sqrt</a>(NonInteger(<a class="code" href="classEigen_1_1AlignedBox.html#a845dd8a069c204d15f12aa2702dd9539">squaredExteriorDistance</a>(b))); }</div>
<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160; </div>
<div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;  <span class="keyword">template</span>&lt;<span class="keywordtype">int</span> Mode, <span class="keywordtype">int</span> Options&gt;</div>
<div class="line"><a name="l00328"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#ab5e6ce8af190d79ef479c457269f821b">  328</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classEigen_1_1AlignedBox.html#ab5e6ce8af190d79ef479c457269f821b">transform</a>(</div>
<div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;      <span class="keyword">const</span> <span class="keyword">typename</span> <a class="code" href="classEigen_1_1Translation.html">Transform&lt;Scalar, AmbientDimAtCompileTime, Mode, Options&gt;::TranslationType</a>&amp; translation)</div>
<div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;  {</div>
<div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;    this-&gt;<a class="code" href="classEigen_1_1AlignedBox.html#ae91161ac95a97cd12dc719e6371b28ad">translate</a>(translation);</div>
<div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;  }</div>
<div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160; </div>
<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;  <span class="keyword">template</span>&lt;<span class="keywordtype">int</span> Mode, <span class="keywordtype">int</span> Options&gt;</div>
<div class="line"><a name="l00341"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#a1bd68c93f4eff68bea3a446178c22945">  341</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classEigen_1_1AlignedBox.html#a1bd68c93f4eff68bea3a446178c22945">transform</a>(<span class="keyword">const</span> <a class="code" href="classEigen_1_1Transform.html">Transform&lt;Scalar, AmbientDimAtCompileTime, Mode, Options&gt;</a>&amp; <a class="code" href="classEigen_1_1AlignedBox.html#ab5e6ce8af190d79ef479c457269f821b">transform</a>)</div>
<div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;  {</div>
<div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;    <span class="comment">// Only Affine and Isometry transforms are currently supported.</span></div>
<div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;    EIGEN_STATIC_ASSERT(Mode == <a class="code" href="group__enums.html#ggaee59a86102f150923b0cac6d4ff05107a0872f0a82453aaae40339c33acbb31fb">Affine</a> || Mode == <a class="code" href="group__enums.html#ggaee59a86102f150923b0cac6d4ff05107a8192e8fdb2ec3ec46d92956cc83ef490">AffineCompact</a> || Mode == <a class="code" href="group__enums.html#ggaee59a86102f150923b0cac6d4ff05107a84413028615d2d718bafd2dfb93dafef">Isometry</a>, THIS_METHOD_IS_ONLY_FOR_SPECIFIC_TRANSFORMATIONS);</div>
<div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160; </div>
<div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;    <span class="comment">// Method adapted from FCL src/shape/geometric_shapes_utility.cpp#computeBV&lt;AABB, Box&gt;(...)</span></div>
<div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;    <span class="comment">// https://github.com/flexible-collision-library/fcl/blob/fcl-0.4/src/shape/geometric_shapes_utility.cpp#L292</span></div>
<div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;    <span class="comment">// Here&#39;s a nice explanation why it works: https://zeuxcg.org/2010/10/17/aabb-from-obb-with-component-wise-abs/</span></div>
<div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160; </div>
<div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;    <span class="comment">// two times rotated extent</span></div>
<div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;    <span class="keyword">const</span> <a class="code" href="classEigen_1_1Matrix.html">VectorType</a> rotated_extent_2 = <a class="code" href="classEigen_1_1AlignedBox.html#ab5e6ce8af190d79ef479c457269f821b">transform</a>.linear().cwiseAbs() * <a class="code" href="classEigen_1_1AlignedBox.html#aba5c7e95891406676ec4dd24ec8886a6">sizes</a>();</div>
<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;    <span class="comment">// two times new center</span></div>
<div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;    <span class="keyword">const</span> <a class="code" href="classEigen_1_1Matrix.html">VectorType</a> rotated_center_2 = <a class="code" href="classEigen_1_1AlignedBox.html#ab5e6ce8af190d79ef479c457269f821b">transform</a>.linear() * (this-&gt;m_max + this-&gt;m_min) +</div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;        Scalar(2) * <a class="code" href="classEigen_1_1AlignedBox.html#ab5e6ce8af190d79ef479c457269f821b">transform</a>.translation();</div>
<div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160; </div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;    this-&gt;m_max = (rotated_center_2 + rotated_extent_2) / Scalar(2);</div>
<div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;    this-&gt;m_min = (rotated_center_2 - rotated_extent_2) / Scalar(2);</div>
<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;  }</div>
<div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160; </div>
<div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;  <span class="keyword">template</span>&lt;<span class="keywordtype">int</span> Mode, <span class="keywordtype">int</span> Options&gt;</div>
<div class="line"><a name="l00366"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#a368af7d5cb71110605a4509138354528">  366</a></span>&#160;  EIGEN_DEVICE_FUNC <a class="code" href="classEigen_1_1AlignedBox.html">AlignedBox</a> <a class="code" href="classEigen_1_1AlignedBox.html#a368af7d5cb71110605a4509138354528">transformed</a>(<span class="keyword">const</span> <a class="code" href="classEigen_1_1Transform.html">Transform&lt;Scalar, AmbientDimAtCompileTime, Mode, Options&gt;</a>&amp; <a class="code" href="classEigen_1_1AlignedBox.html#ab5e6ce8af190d79ef479c457269f821b">transform</a>)<span class="keyword"> const</span></div>
<div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;<span class="keyword">  </span>{</div>
<div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;    <a class="code" href="classEigen_1_1AlignedBox.html">AlignedBox</a> result(m_min, m_max);</div>
<div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;    result.<a class="code" href="classEigen_1_1AlignedBox.html#ab5e6ce8af190d79ef479c457269f821b">transform</a>(<a class="code" href="classEigen_1_1AlignedBox.html#ab5e6ce8af190d79ef479c457269f821b">transform</a>);</div>
<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;    <span class="keywordflow">return</span> result;</div>
<div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;  }</div>
<div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160; </div>
<div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;  <span class="keyword">template</span>&lt;<span class="keyword">typename</span> NewScalarType&gt;</div>
<div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <span class="keyword">typename</span> internal::cast_return_type&lt;<a class="code" href="classEigen_1_1AlignedBox.html#a9ae9a4738e56ab88399cdf755fef1971">AlignedBox</a>,</div>
<div class="line"><a name="l00380"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#aa5b17581b51c7fb3a8396263dcaa7d59">  380</a></span>&#160;           <a class="code" href="classEigen_1_1AlignedBox.html">AlignedBox&lt;NewScalarType,AmbientDimAtCompileTime&gt;</a> &gt;::type <a class="code" href="classEigen_1_1AlignedBox.html#aa5b17581b51c7fb3a8396263dcaa7d59">cast</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;<span class="keyword">  </span>{</div>
<div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;    <span class="keywordflow">return</span> <span class="keyword">typename</span> internal::cast_return_type&lt;<a class="code" href="classEigen_1_1AlignedBox.html#a9ae9a4738e56ab88399cdf755fef1971">AlignedBox</a>,</div>
<div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;                    <a class="code" href="classEigen_1_1AlignedBox.html">AlignedBox&lt;NewScalarType,AmbientDimAtCompileTime&gt;</a> &gt;::type(*<span class="keyword">this</span>);</div>
<div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;  }</div>
<div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160; </div>
<div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;  <span class="keyword">template</span>&lt;<span class="keyword">typename</span> OtherScalarType&gt;</div>
<div class="line"><a name="l00388"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#ae5ec390af39185eb70264776acd48b0c">  388</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keyword">inline</span> <span class="keyword">explicit</span> <a class="code" href="classEigen_1_1AlignedBox.html#ae5ec390af39185eb70264776acd48b0c">AlignedBox</a>(<span class="keyword">const</span> <a class="code" href="classEigen_1_1AlignedBox.html">AlignedBox&lt;OtherScalarType,AmbientDimAtCompileTime&gt;</a>&amp; other)</div>
<div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;  {</div>
<div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;    m_min = (other.<a class="code" href="classEigen_1_1AlignedBox.html#ab900e4b88b30cea89997f7d940056385">min</a>)().template cast&lt;Scalar&gt;();</div>
<div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;    m_max = (other.<a class="code" href="classEigen_1_1AlignedBox.html#a313ee6bc4feff436c1e60d62fc18778b">max</a>)().template cast&lt;Scalar&gt;();</div>
<div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;  }</div>
<div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160; </div>
<div class="line"><a name="l00398"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#a04a4a3107426e9e3a3ed2cf4de559517">  398</a></span>&#160;  EIGEN_DEVICE_FUNC <span class="keywordtype">bool</span> <a class="code" href="classEigen_1_1AlignedBox.html#a04a4a3107426e9e3a3ed2cf4de559517">isApprox</a>(<span class="keyword">const</span> <a class="code" href="classEigen_1_1AlignedBox.html">AlignedBox</a>&amp; other, <span class="keyword">const</span> RealScalar&amp; prec = ScalarTraits::dummy_precision())<span class="keyword"> const</span></div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;<span class="keyword">  </span>{ <span class="keywordflow">return</span> m_min.isApprox(other.m_min, prec) &amp;&amp; m_max.isApprox(other.m_max, prec); }</div>
<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160; </div>
<div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160; </div>
<div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;  VectorType m_min, m_max;</div>
<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;};</div>
<div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160; </div>
<div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160; </div>
<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160; </div>
<div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;<span class="keyword">template</span>&lt;<span class="keyword">typename</span> Scalar,<span class="keywordtype">int</span> AmbientDim&gt;</div>
<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;<span class="keyword">template</span>&lt;<span class="keyword">typename</span> Derived&gt;</div>
<div class="line"><a name="l00410"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#a845dd8a069c204d15f12aa2702dd9539">  410</a></span>&#160;EIGEN_DEVICE_FUNC <span class="keyword">inline</span> Scalar <a class="code" href="classEigen_1_1AlignedBox.html#a845dd8a069c204d15f12aa2702dd9539">AlignedBox&lt;Scalar,AmbientDim&gt;::squaredExteriorDistance</a>(<span class="keyword">const</span> <a class="code" href="classEigen_1_1MatrixBase.html">MatrixBase&lt;Derived&gt;</a>&amp; a_p)<span class="keyword"> const</span></div>
<div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;  <span class="keyword">typename</span> internal::nested_eval&lt;Derived,2*AmbientDim&gt;::type p(a_p.<a class="code" href="classEigen_1_1DenseCoeffsBase_3_01Derived_00_01DirectWriteAccessors_01_4.html#a1fbabe7f12bcbfba3b9a448b1f5e46fa">derived</a>());</div>
<div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;  Scalar dist2(0);</div>
<div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;  Scalar aux;</div>
<div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;  <span class="keywordflow">for</span> (<a class="code" href="classEigen_1_1AlignedBox.html#a49aa57267f2835ac961235bea5bee8ac">Index</a> k=0; k&lt;dim(); ++k)</div>
<div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;  {</div>
<div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;    <span class="keywordflow">if</span>( m_min[k] &gt; p[k] )</div>
<div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;    {</div>
<div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;      aux = m_min[k] - p[k];</div>
<div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;      dist2 += aux*aux;</div>
<div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;    }</div>
<div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;    <span class="keywordflow">else</span> <span class="keywordflow">if</span>( p[k] &gt; m_max[k] )</div>
<div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;    {</div>
<div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;      aux = p[k] - m_max[k];</div>
<div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;      dist2 += aux*aux;</div>
<div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;    }</div>
<div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;  }</div>
<div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;  <span class="keywordflow">return</span> dist2;</div>
<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;}</div>
<div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160; </div>
<div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;<span class="keyword">template</span>&lt;<span class="keyword">typename</span> Scalar,<span class="keywordtype">int</span> AmbientDim&gt;</div>
<div class="line"><a name="l00432"></a><span class="lineno"><a class="line" href="classEigen_1_1AlignedBox.html#aa91643da79398e454618ad06b92ff531">  432</a></span>&#160;EIGEN_DEVICE_FUNC <span class="keyword">inline</span> Scalar <a class="code" href="classEigen_1_1AlignedBox.html#a845dd8a069c204d15f12aa2702dd9539">AlignedBox&lt;Scalar,AmbientDim&gt;::squaredExteriorDistance</a>(<span class="keyword">const</span> <a class="code" href="classEigen_1_1AlignedBox.html">AlignedBox</a>&amp; b)<span class="keyword"> const</span></div>
<div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;  Scalar dist2(0);</div>
<div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;  Scalar aux;</div>
<div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;  <span class="keywordflow">for</span> (<a class="code" href="classEigen_1_1AlignedBox.html#a49aa57267f2835ac961235bea5bee8ac">Index</a> k=0; k&lt;dim(); ++k)</div>
<div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;  {</div>
<div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;    <span class="keywordflow">if</span>( m_min[k] &gt; b.m_max[k] )</div>
<div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;    {</div>
<div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;      aux = m_min[k] - b.m_max[k];</div>
<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;      dist2 += aux*aux;</div>
<div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;    }</div>
<div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;    <span class="keywordflow">else</span> <span class="keywordflow">if</span>( b.m_min[k] &gt; m_max[k] )</div>
<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;    {</div>
<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;      aux = b.m_min[k] - m_max[k];</div>
<div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;      dist2 += aux*aux;</div>
<div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;    }</div>
<div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;  }</div>
<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;  <span class="keywordflow">return</span> dist2;</div>
<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;}</div>
<div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160; </div>
<div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;<span class="preprocessor">#define EIGEN_MAKE_TYPEDEFS(Type, TypeSuffix, Size, SizeSuffix)    \</span></div>
<div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;<span class="preprocessor">                                 \</span></div>
<div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;<span class="preprocessor">typedef AlignedBox&lt;Type, Size&gt;   AlignedBox##SizeSuffix##TypeSuffix;</span></div>
<div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160; </div>
<div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160;<span class="preprocessor">#define EIGEN_MAKE_TYPEDEFS_ALL_SIZES(Type, TypeSuffix) \</span></div>
<div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;<span class="preprocessor">EIGEN_MAKE_TYPEDEFS(Type, TypeSuffix, 1, 1) \</span></div>
<div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;<span class="preprocessor">EIGEN_MAKE_TYPEDEFS(Type, TypeSuffix, 2, 2) \</span></div>
<div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;<span class="preprocessor">EIGEN_MAKE_TYPEDEFS(Type, TypeSuffix, 3, 3) \</span></div>
<div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;<span class="preprocessor">EIGEN_MAKE_TYPEDEFS(Type, TypeSuffix, 4, 4) \</span></div>
<div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160;<span class="preprocessor">EIGEN_MAKE_TYPEDEFS(Type, TypeSuffix, Dynamic, X)</span></div>
<div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160; </div>
<div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;EIGEN_MAKE_TYPEDEFS_ALL_SIZES(<span class="keywordtype">int</span>,                  i)</div>
<div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;EIGEN_MAKE_TYPEDEFS_ALL_SIZES(<span class="keywordtype">float</span>,                f)</div>
<div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;EIGEN_MAKE_TYPEDEFS_ALL_SIZES(<span class="keywordtype">double</span>,               d)</div>
<div class="line"><a name="l00482"></a><span class="lineno">  482</span>&#160; </div>
<div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;<span class="preprocessor">#undef EIGEN_MAKE_TYPEDEFS_ALL_SIZES</span></div>
<div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;<span class="preprocessor">#undef EIGEN_MAKE_TYPEDEFS</span></div>
<div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160; </div>
<div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;} <span class="comment">// end namespace Eigen</span></div>
<div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160; </div>
<div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160;<span class="preprocessor">#endif </span><span class="comment">// EIGEN_ALIGNEDBOX_H</span></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html"><div class="ttname"><a href="classEigen_1_1AlignedBox.html">Eigen::AlignedBox</a></div><div class="ttdoc">An axis aligned box.</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:69</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_a04a4a3107426e9e3a3ed2cf4de559517"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#a04a4a3107426e9e3a3ed2cf4de559517">Eigen::AlignedBox::isApprox</a></div><div class="ttdeci">bool isApprox(const AlignedBox &amp;other, const RealScalar &amp;prec=ScalarTraits::dummy_precision()) const</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:398</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_a051c83d98a8173b3ec1e6f623f05e2bc"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#a051c83d98a8173b3ec1e6f623f05e2bc">Eigen::AlignedBox::EIGEN_EXPR_BINARYOP_SCALAR_RETURN_TYPE</a></div><div class="ttdeci">const EIGEN_EXPR_BINARYOP_SCALAR_RETURN_TYPE(VectorTypeSum, RealScalar, quotient) center() const</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:153</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_a0b76fc1ee174992cca1fa24bfd6e4a6a"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#a0b76fc1ee174992cca1fa24bfd6e4a6a">Eigen::AlignedBox::intersection</a></div><div class="ttdeci">AlignedBox intersection(const AlignedBox &amp;b) const</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:268</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_a1540a9d114086aaaedbd5a560c2e7563"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#a1540a9d114086aaaedbd5a560c2e7563">Eigen::AlignedBox::AlignedBox</a></div><div class="ttdeci">AlignedBox(const OtherVectorType1 &amp;_min, const OtherVectorType2 &amp;_max)</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:113</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_a1bd68c93f4eff68bea3a446178c22945"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#a1bd68c93f4eff68bea3a446178c22945">Eigen::AlignedBox::transform</a></div><div class="ttdeci">void transform(const Transform&lt; Scalar, AmbientDimAtCompileTime, Mode, Options &gt; &amp;transform)</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:341</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_a1d7b5a79c7657306d7610f6cac19d378"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#a1d7b5a79c7657306d7610f6cac19d378">Eigen::AlignedBox::isNull</a></div><div class="ttdeci">bool isNull() const</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:126</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_a1f1b00e1696e71a978cf129b93c38d1e"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#a1f1b00e1696e71a978cf129b93c38d1e">Eigen::AlignedBox::sample</a></div><div class="ttdeci">VectorType sample() const</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:202</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_a313ee6bc4feff436c1e60d62fc18778b"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#a313ee6bc4feff436c1e60d62fc18778b">Eigen::AlignedBox::max</a></div><div class="ttdeci">const VectorType &amp;() max() const</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:148</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_a3285f3a937f96727e491ffd052bb1de9"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#a3285f3a937f96727e491ffd052bb1de9">Eigen::AlignedBox::AlignedBox</a></div><div class="ttdeci">AlignedBox(const MatrixBase&lt; Derived &gt; &amp;p)</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:117</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_a3549725c49160c2c76c35c8e86055503"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#a3549725c49160c2c76c35c8e86055503">Eigen::AlignedBox::extend</a></div><div class="ttdeci">AlignedBox &amp; extend(const MatrixBase&lt; Derived &gt; &amp;p)</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:238</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_a35e8681792da5c54ffb1c9193598b71b"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#a35e8681792da5c54ffb1c9193598b71b">Eigen::AlignedBox::contains</a></div><div class="ttdeci">bool contains(const AlignedBox &amp;b) const</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:227</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_a368af7d5cb71110605a4509138354528"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#a368af7d5cb71110605a4509138354528">Eigen::AlignedBox::transformed</a></div><div class="ttdeci">AlignedBox transformed(const Transform&lt; Scalar, AmbientDimAtCompileTime, Mode, Options &gt; &amp;transform) const</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:366</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_a3f68a47f67148efbd6dc3829fd37504b"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#a3f68a47f67148efbd6dc3829fd37504b">Eigen::AlignedBox::intersects</a></div><div class="ttdeci">bool intersects(const AlignedBox &amp;b) const</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:232</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_a44f595ef90fae9146e0de0d6d92ebe01"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#a44f595ef90fae9146e0de0d6d92ebe01">Eigen::AlignedBox::merged</a></div><div class="ttdeci">AlignedBox merged(const AlignedBox &amp;b) const</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:274</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_a492e672e08fa4b07f472027d7e874910"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#a492e672e08fa4b07f472027d7e874910">Eigen::AlignedBox::corner</a></div><div class="ttdeci">VectorType corner(CornerType corner) const</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:184</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_a49aa57267f2835ac961235bea5bee8ac"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#a49aa57267f2835ac961235bea5bee8ac">Eigen::AlignedBox::Index</a></div><div class="ttdeci">Eigen::Index Index</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:75</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_a522c945ed9c331f90b1f75ab290180d7"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#a522c945ed9c331f90b1f75ab290180d7">Eigen::AlignedBox::AlignedBox</a></div><div class="ttdeci">AlignedBox(Index _dim)</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:107</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_a6efd4eb4864791f7bc760cb83e2a2f8e"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#a6efd4eb4864791f7bc760cb83e2a2f8e">Eigen::AlignedBox::translated</a></div><div class="ttdeci">AlignedBox translated(const MatrixBase&lt; Derived &gt; &amp;a_t) const</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:289</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_a7ef62c93ddb33d1b363cc05144e0b393"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#a7ef62c93ddb33d1b363cc05144e0b393">Eigen::AlignedBox::contains</a></div><div class="ttdeci">bool contains(const MatrixBase&lt; Derived &gt; &amp;p) const</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:220</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_a815b3d570e81e84c783a843f4ebfbb0f"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#a815b3d570e81e84c783a843f4ebfbb0f">Eigen::AlignedBox::clamp</a></div><div class="ttdeci">AlignedBox &amp; clamp(const AlignedBox &amp;b)</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:258</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_a845dd8a069c204d15f12aa2702dd9539"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#a845dd8a069c204d15f12aa2702dd9539">Eigen::AlignedBox::squaredExteriorDistance</a></div><div class="ttdeci">Scalar squaredExteriorDistance(const MatrixBase&lt; Derived &gt; &amp;p) const</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:410</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_a8ed7834df77c185a07a8d98d62f38cd8"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#a8ed7834df77c185a07a8d98d62f38cd8">Eigen::AlignedBox::max</a></div><div class="ttdeci">VectorType &amp;() max()</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:150</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_a9533bed7270d1829221fc3cca1ab7a2d"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#a9533bed7270d1829221fc3cca1ab7a2d">Eigen::AlignedBox::min</a></div><div class="ttdeci">VectorType &amp;() min()</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:146</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_a95e8244be4e60887cfb1caa25b369d57"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#a95e8244be4e60887cfb1caa25b369d57">Eigen::AlignedBox::dim</a></div><div class="ttdeci">Index dim() const</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:123</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_a970488dcf16ed183180f7fc23fa31278"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#a970488dcf16ed183180f7fc23fa31278">Eigen::AlignedBox::extend</a></div><div class="ttdeci">AlignedBox &amp; extend(const AlignedBox &amp;b)</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:248</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_a9ae9a4738e56ab88399cdf755fef1971"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#a9ae9a4738e56ab88399cdf755fef1971">Eigen::AlignedBox::AlignedBox</a></div><div class="ttdeci">AlignedBox()</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:103</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_aa5b17581b51c7fb3a8396263dcaa7d59"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#aa5b17581b51c7fb3a8396263dcaa7d59">Eigen::AlignedBox::cast</a></div><div class="ttdeci">internal::cast_return_type&lt; AlignedBox, AlignedBox&lt; NewScalarType, AmbientDimAtCompileTime &gt; &gt;::type cast() const</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:380</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_aa854f1d5e78822f4a6f192d4d5949f95"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#aa854f1d5e78822f4a6f192d4d5949f95">Eigen::AlignedBox::isEmpty</a></div><div class="ttdeci">bool isEmpty() const</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:133</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_aa9db0f991a577eb1d31183b51a848be0"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#aa9db0f991a577eb1d31183b51a848be0">Eigen::AlignedBox::exteriorDistance</a></div><div class="ttdeci">NonInteger exteriorDistance(const AlignedBox &amp;b) const</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:321</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_ab5e6ce8af190d79ef479c457269f821b"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#ab5e6ce8af190d79ef479c457269f821b">Eigen::AlignedBox::transform</a></div><div class="ttdeci">void transform(const typename Transform&lt; Scalar, AmbientDimAtCompileTime, Mode, Options &gt;::TranslationType &amp;translation)</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:328</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_ab900e4b88b30cea89997f7d940056385"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#ab900e4b88b30cea89997f7d940056385">Eigen::AlignedBox::min</a></div><div class="ttdeci">const VectorType &amp;() min() const</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:144</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_aba5c7e95891406676ec4dd24ec8886a6"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#aba5c7e95891406676ec4dd24ec8886a6">Eigen::AlignedBox::sizes</a></div><div class="ttdeci">const CwiseBinaryOp&lt; internal::scalar_difference_op&lt; Scalar, Scalar &gt;, const VectorType, const VectorType &gt; sizes() const</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:161</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_ad30a56f5c452e9c9f05f31df8de11281"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#ad30a56f5c452e9c9f05f31df8de11281">Eigen::AlignedBox::exteriorDistance</a></div><div class="ttdeci">NonInteger exteriorDistance(const MatrixBase&lt; Derived &gt; &amp;p) const</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:314</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_ae4aa935b36004fffc49c7a3a85e2d378"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378">Eigen::AlignedBox::CornerType</a></div><div class="ttdeci">CornerType</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:83</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_ae4aa935b36004fffc49c7a3a85e2d378a0d34560e6751623935532d61e57fee60"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378a0d34560e6751623935532d61e57fee60">Eigen::AlignedBox::Max</a></div><div class="ttdeci">@ Max</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:85</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_ae4aa935b36004fffc49c7a3a85e2d378a1a18651b4a33f61755894bf8ff31ea14"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378a1a18651b4a33f61755894bf8ff31ea14">Eigen::AlignedBox::TopLeft</a></div><div class="ttdeci">@ TopLeft</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:90</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_ae4aa935b36004fffc49c7a3a85e2d378a2827ffa8813d2080e2ef7ddd1115175a"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378a2827ffa8813d2080e2ef7ddd1115175a">Eigen::AlignedBox::TopRight</a></div><div class="ttdeci">@ TopRight</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:90</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_ae4aa935b36004fffc49c7a3a85e2d378a32a1f777fd1b8d8cad52b8ff1eb5dea7"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378a32a1f777fd1b8d8cad52b8ff1eb5dea7">Eigen::AlignedBox::TopLeftFloor</a></div><div class="ttdeci">@ TopLeftFloor</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:95</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_ae4aa935b36004fffc49c7a3a85e2d378a395b1ed5f83be9cb0516e146cf183516"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378a395b1ed5f83be9cb0516e146cf183516">Eigen::AlignedBox::BottomRight</a></div><div class="ttdeci">@ BottomRight</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:89</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_ae4aa935b36004fffc49c7a3a85e2d378a3e75f2c0fc145855924134fd18fab0b8"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378a3e75f2c0fc145855924134fd18fab0b8">Eigen::AlignedBox::Min</a></div><div class="ttdeci">@ Min</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:85</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_ae4aa935b36004fffc49c7a3a85e2d378a485cc6b5a858aee6971bb1bc57ad4efa"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378a485cc6b5a858aee6971bb1bc57ad4efa">Eigen::AlignedBox::TopLeftCeil</a></div><div class="ttdeci">@ TopLeftCeil</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:97</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_ae4aa935b36004fffc49c7a3a85e2d378a509f3625904845c83483279628ac672f"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378a509f3625904845c83483279628ac672f">Eigen::AlignedBox::BottomLeft</a></div><div class="ttdeci">@ BottomLeft</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:89</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_ae4aa935b36004fffc49c7a3a85e2d378a5a05d903c977da3e91c37bb5c51e60dd"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378a5a05d903c977da3e91c37bb5c51e60dd">Eigen::AlignedBox::BottomRightFloor</a></div><div class="ttdeci">@ BottomRightFloor</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:94</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_ae4aa935b36004fffc49c7a3a85e2d378a8429f957ccb88065020de445c39c49f7"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378a8429f957ccb88065020de445c39c49f7">Eigen::AlignedBox::TopRightFloor</a></div><div class="ttdeci">@ TopRightFloor</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:95</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_ae4aa935b36004fffc49c7a3a85e2d378ac4e0be6f091970e045265a668cbf6b47"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378ac4e0be6f091970e045265a668cbf6b47">Eigen::AlignedBox::BottomLeftCeil</a></div><div class="ttdeci">@ BottomLeftCeil</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:96</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_ae4aa935b36004fffc49c7a3a85e2d378ad03399109b3a82fde5f66c1888cb328b"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378ad03399109b3a82fde5f66c1888cb328b">Eigen::AlignedBox::BottomRightCeil</a></div><div class="ttdeci">@ BottomRightCeil</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:96</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_ae4aa935b36004fffc49c7a3a85e2d378ada703fccfe797c21bc5943e2e933b84d"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378ada703fccfe797c21bc5943e2e933b84d">Eigen::AlignedBox::TopRightCeil</a></div><div class="ttdeci">@ TopRightCeil</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:97</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_ae4aa935b36004fffc49c7a3a85e2d378afc1c67ae2bcc154f690cbc928517972d"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#ae4aa935b36004fffc49c7a3a85e2d378afc1c67ae2bcc154f690cbc928517972d">Eigen::AlignedBox::BottomLeftFloor</a></div><div class="ttdeci">@ BottomLeftFloor</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:94</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_ae5ec390af39185eb70264776acd48b0c"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#ae5ec390af39185eb70264776acd48b0c">Eigen::AlignedBox::AlignedBox</a></div><div class="ttdeci">AlignedBox(const AlignedBox&lt; OtherScalarType, AmbientDimAtCompileTime &gt; &amp;other)</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:388</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_ae8a08a294f86da85d15fcffafb463bbc"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#ae8a08a294f86da85d15fcffafb463bbc">Eigen::AlignedBox::volume</a></div><div class="ttdeci">Scalar volume() const</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:165</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_ae91161ac95a97cd12dc719e6371b28ad"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#ae91161ac95a97cd12dc719e6371b28ad">Eigen::AlignedBox::translate</a></div><div class="ttdeci">AlignedBox &amp; translate(const MatrixBase&lt; Derived &gt; &amp;a_t)</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:279</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_aee2186f3e9218881bae66206b22b7016"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#aee2186f3e9218881bae66206b22b7016">Eigen::AlignedBox::setEmpty</a></div><div class="ttdeci">void setEmpty()</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:137</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_aee3dfbaf7306efc1f1bcd65cec04729c"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#aee3dfbaf7306efc1f1bcd65cec04729c">Eigen::AlignedBox::setNull</a></div><div class="ttdeci">void setNull()</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:129</div></div>
<div class="ttc" id="aclassEigen_1_1AlignedBox_html_af4cee28b5d5aa1a5455c01bcc442b797"><div class="ttname"><a href="classEigen_1_1AlignedBox.html#af4cee28b5d5aa1a5455c01bcc442b797">Eigen::AlignedBox::diagonal</a></div><div class="ttdeci">CwiseBinaryOp&lt; internal::scalar_difference_op&lt; Scalar, Scalar &gt;, const VectorType, const VectorType &gt; diagonal() const</div><div class="ttdef"><b>Definition:</b> AlignedBox.h:172</div></div>
<div class="ttc" id="aclassEigen_1_1CwiseBinaryOp_html"><div class="ttname"><a href="classEigen_1_1CwiseBinaryOp.html">Eigen::CwiseBinaryOp</a></div><div class="ttdoc">Generic expression where a coefficient-wise binary operator is applied to two expressions.</div><div class="ttdef"><b>Definition:</b> CwiseBinaryOp.h:86</div></div>
<div class="ttc" id="aclassEigen_1_1DenseCoeffsBase_3_01Derived_00_01DirectWriteAccessors_01_4_html_a1fbabe7f12bcbfba3b9a448b1f5e46fa"><div class="ttname"><a href="classEigen_1_1DenseCoeffsBase_3_01Derived_00_01DirectWriteAccessors_01_4.html#a1fbabe7f12bcbfba3b9a448b1f5e46fa">Eigen::DenseCoeffsBase&lt; Derived, DirectWriteAccessors &gt;::derived</a></div><div class="ttdeci">Derived &amp; derived()</div><div class="ttdef"><b>Definition:</b> EigenBase.h:48</div></div>
<div class="ttc" id="aclassEigen_1_1MatrixBase_html"><div class="ttname"><a href="classEigen_1_1MatrixBase.html">Eigen::MatrixBase</a></div><div class="ttdoc">Base class for all dense matrices, vectors, and expressions.</div><div class="ttdef"><b>Definition:</b> MatrixBase.h:52</div></div>
<div class="ttc" id="aclassEigen_1_1Matrix_html"><div class="ttname"><a href="classEigen_1_1Matrix.html">Eigen::Matrix&lt; Scalar, AmbientDimAtCompileTime, 1 &gt;</a></div></div>
<div class="ttc" id="aclassEigen_1_1PlainObjectBase_html_aac6bc5261783ec3008a51c2654de73e8"><div class="ttname"><a href="classEigen_1_1PlainObjectBase.html#aac6bc5261783ec3008a51c2654de73e8">Eigen::PlainObjectBase::setConstant</a></div><div class="ttdeci">Derived &amp; setConstant(Index size, const Scalar &amp;val)</div><div class="ttdef"><b>Definition:</b> CwiseNullaryOp.h:363</div></div>
<div class="ttc" id="aclassEigen_1_1Transform_html"><div class="ttname"><a href="classEigen_1_1Transform.html">Eigen::Transform</a></div><div class="ttdoc">Represents an homogeneous transformation in a N dimensional space.</div><div class="ttdef"><b>Definition:</b> Transform.h:207</div></div>
<div class="ttc" id="aclassEigen_1_1Translation_html"><div class="ttname"><a href="classEigen_1_1Translation.html">Eigen::Translation</a></div><div class="ttdoc">Represents a translation transformation.</div><div class="ttdef"><b>Definition:</b> Translation.h:33</div></div>
<div class="ttc" id="agroup__Core__Module_html_ga4abe6022fbef6cda264ef2947a2be1a9"><div class="ttname"><a href="group__Core__Module.html#ga4abe6022fbef6cda264ef2947a2be1a9">Eigen::placeholders::all</a></div><div class="ttdeci">static const Eigen::internal::all_t all</div><div class="ttdef"><b>Definition:</b> IndexedViewHelper.h:189</div></div>
<div class="ttc" id="agroup__enums_html_ggaee59a86102f150923b0cac6d4ff05107a0872f0a82453aaae40339c33acbb31fb"><div class="ttname"><a href="group__enums.html#ggaee59a86102f150923b0cac6d4ff05107a0872f0a82453aaae40339c33acbb31fb">Eigen::Affine</a></div><div class="ttdeci">@ Affine</div><div class="ttdef"><b>Definition:</b> Constants.h:462</div></div>
<div class="ttc" id="agroup__enums_html_ggaee59a86102f150923b0cac6d4ff05107a8192e8fdb2ec3ec46d92956cc83ef490"><div class="ttname"><a href="group__enums.html#ggaee59a86102f150923b0cac6d4ff05107a8192e8fdb2ec3ec46d92956cc83ef490">Eigen::AffineCompact</a></div><div class="ttdeci">@ AffineCompact</div><div class="ttdef"><b>Definition:</b> Constants.h:464</div></div>
<div class="ttc" id="agroup__enums_html_ggaee59a86102f150923b0cac6d4ff05107a84413028615d2d718bafd2dfb93dafef"><div class="ttname"><a href="group__enums.html#ggaee59a86102f150923b0cac6d4ff05107a84413028615d2d718bafd2dfb93dafef">Eigen::Isometry</a></div><div class="ttdeci">@ Isometry</div><div class="ttdef"><b>Definition:</b> Constants.h:459</div></div>
<div class="ttc" id="anamespaceEigen_html"><div class="ttname"><a href="namespaceEigen.html">Eigen</a></div><div class="ttdoc">Namespace containing all symbols from the Eigen library.</div><div class="ttdef"><b>Definition:</b> Core:139</div></div>
<div class="ttc" id="anamespaceEigen_html_a62e77e0933482dafde8fe197d9a2cfde"><div class="ttname"><a href="namespaceEigen.html#a62e77e0933482dafde8fe197d9a2cfde">Eigen::Index</a></div><div class="ttdeci">EIGEN_DEFAULT_DENSE_INDEX_TYPE Index</div><div class="ttdoc">The Index type as used for the API.</div><div class="ttdef"><b>Definition:</b> Meta.h:59</div></div>
<div class="ttc" id="anamespaceEigen_html_ad81fa7195215a0ce30017dfac309f0b2"><div class="ttname"><a href="namespaceEigen.html#ad81fa7195215a0ce30017dfac309f0b2">Eigen::Dynamic</a></div><div class="ttdeci">const int Dynamic</div><div class="ttdef"><b>Definition:</b> Constants.h:24</div></div>
<div class="ttc" id="anamespaceEigen_html_af4f536e8ea56702e63088efb3706d1f0"><div class="ttname"><a href="namespaceEigen.html#af4f536e8ea56702e63088efb3706d1f0">Eigen::sqrt</a></div><div class="ttdeci">const Eigen::CwiseUnaryOp&lt; Eigen::internal::scalar_sqrt_op&lt; typename Derived::Scalar &gt;, const Derived &gt; sqrt(const Eigen::ArrayBase&lt; Derived &gt; &amp;x)</div></div>
<div class="ttc" id="astructEigen_1_1NumTraits_html"><div class="ttname"><a href="structEigen_1_1NumTraits.html">Eigen::NumTraits&lt; Scalar &gt;</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_a62d91f57b5fefafb116d3f5c1ce792a.html">Eigen</a></li><li class="navelem"><a class="el" href="dir_f84311377820247c2dbcf5d6a63ab308.html">src</a></li><li class="navelem"><a class="el" href="dir_02f13bb04c88c5da299a51110c156190.html">Geometry</a></li><li class="navelem"><b>AlignedBox.h</b></li>
    <li class="footer">Generated on Thu Apr 21 2022 13:07:49 for Eigen by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
